﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TrayMes
{
    public enum SocketState
    {
        [SocketState("U", "Black", "Transparecy", "")]
        [Description("未知")]
        Unknow = 0,
        [SocketState("U", "Black", "Transparecy", "")]
        [Description("待创建")]
        Uninitialized,
        [SocketState("O", "Black", "YellowGreen", "")]
        [Description("连接中")]
        Opening,
        [SocketState("D", "White", "Gray", "")]
        [Description("已断开")]
        Disconnected,
        [SocketState("C", "Black", "Green", "")]
        [Description("已连接")]
        Connected,
        [SocketState("I", "Black", "Green", "")]
        [Description("空闲中")]
        Idle,
        [SocketState("B", "Black", "Yellow", "")]
        [Description("繁忙中")]
        Buzy,
        [SocketState("S", "Black", "Yellow", "")]
        [Description("发送中")]
        Sending,
        [SocketState("R", "Black", "Yellow", "")]
        [Description("接收中")]
        Receving,
        [SocketState("E", "White", "Gray", "")]
        [Description("错误")]
        Error = 0xFF,
    }
}
